﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace DTO
{
    public class QCBaoDTO
    {
        public int MaQCBao { get; set; }
        public DateTime NgayBatDauPhatHanh { get; set; }
        public int CoHinhAnh { get; set; }
        public int MaND { get; set; }
        public int MaChiTietBao { get; set; }
        public string ThuPhatHanh { get; set; }
        //Update
        public QCBaoDTO(int _Maqcbao, DateTime _Ngaybatdauphathanh, int _Cohinhanh, int _Mand, int _Machitietbao, string _Thuphathanh)
        {
            MaQCBao = _Maqcbao;
            NgayBatDauPhatHanh = _Ngaybatdauphathanh;
            CoHinhAnh = _Cohinhanh;
            MaND = _Mand;
            MaChiTietBao = _Machitietbao;
            ThuPhatHanh = _Thuphathanh;
        }

        //insert
        public QCBaoDTO(DateTime _Ngaybatdauphathanh, int _Cohinhanh, int _Mand, int _Machitietbao, string _Thuphathanh)
        {
            NgayBatDauPhatHanh = _Ngaybatdauphathanh;
            CoHinhAnh = _Cohinhanh;
            MaND = _Mand;
            MaChiTietBao = _Machitietbao;
            ThuPhatHanh = _Thuphathanh;
        }
        public QCBaoDTO()
        {
            // TODO not implememt
            throw new NotImplementedException();
        }
         
    }
}
